@foreach($lists as $list)
<div class="Envelope">
    <div class="top clear">
        <p class="fl">{{$list['name'] or '--'}}</p>
        @if(isset($list['cate']))
        <span class="fr" style="color:{{$list['cate']=='in'?'#fb7230':'#6eba6f'}}">
        	{{$list['cate']=='in'?'+':'-'}}
        @else
        <span class="fr" style="color:#ccc">
        	''
        @endif
        {{$list['money']}}<i>元</i></span> 
    </div>
    <div class="bottom clear">
        <p class="fl">{{$list['time']}}</p>
        <span class="fr">{{$list['status']=='1'?'交易成功':($list['status']=='2'?'交易失败':'待完成')}}</span>
    </div>
</div>
    @endforeach